package com.hpf.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 配置feign的日志打印级别
 * @datetime: 2020/10/2 14:36
 * @author: huangpengfei
 */
@Configuration
public class FeignConfig {

    /**
     * 配置feign的日志打印详细程度
     * @return feign.Logger.Level
     * @author  huangpengfei
     * @datetime  2020/10/2 14:37
     */
    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }
}
